import request from '@/config/axios'

// 获取list数据
export const getConfigApi = (params: any) => {
  return request.get({ url: '/api/system/config/list', params })
}
// 新增参数
export const addConfigApi = (params: any) => {
  return request.post({ url: '/api/system/config', data: params })
}
// 修改
export const editConfigApi = (params: any) => {
  return request.put({ url: '/api/system/config', data: params })
}
// 删除
export const deleteConfigApi = (params: any) => {
  return request.delete({ url: '/api/system/config/'+ params})
}